package com.mp.approvalreq.entity;

import com.alibaba.fastjson.JSONObject;

import java.util.Date;

/**
 * 外勤套件（外出、出差）
	*/
	public class Outdoor {

		public static final int TYPE_OUTDOOR = 1;

		public static final int TYPE_BUSINESS_TRIP = 2;

		private Integer id;

		private Integer companyId;

		private Integer companyInfoId;

	private Integer requestId;

	private Date start;

	private String startTime;

	private Date end;

	private String endTime;

	private Integer duration;

	private String srcAddress;

	private String srcCoordinate;

	private String destAddress;

	private String destCoordinate;

	private Integer signOffset;

	private String reason;

	private String transportation;

	private String stayDay;

	private String attachFile;
	/**
	 * 类型：1.外出; 2.出差
	 */
	private Integer type;

	@Deprecated
	private Integer templateId;

	private Integer finished;

	@Deprecated
	private Integer state;

	private String approvalNum;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Integer getCompanyInfoId() {
		return companyInfoId;
	}

	public void setCompanyInfoId(Integer companyInfoId) {
		this.companyInfoId = companyInfoId;
	}

	public Integer getRequestId() {
		return requestId;
	}

	public void setRequestId(Integer requestId) {
		this.requestId = requestId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public String getSrcAddress() {
		return srcAddress;
	}

	public void setSrcAddress(String srcAddress) {
		this.srcAddress = srcAddress;
	}

	public String getSrcCoordinate() {
		return srcCoordinate;
	}

	public void setSrcCoordinate(String srcCoordinate) {
		this.srcCoordinate = srcCoordinate;
	}

	public String getDestAddress() {
		return destAddress;
	}

	public void setDestAddress(String destAddress) {
		this.destAddress = destAddress;
	}

	public String getDestCoordinate() {
		return destCoordinate;
	}

	public void setDestCoordinate(String destCoordinate) {
		this.destCoordinate = destCoordinate;
	}

	public Integer getSignOffset() {
		return signOffset;
	}

	public void setSignOffset(Integer signOffset) {
		this.signOffset = signOffset;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getTransportation() {
		return transportation;
	}

	public void setTransportation(String transportation) {
		this.transportation = transportation;
	}

	public String getStayDay() {
		return stayDay;
	}

	public void setStayDay(String stayDay) {
		this.stayDay = stayDay;
	}

	public String getAttachFile() {
		return attachFile;
	}

	public void setAttachFile(String attachFile) {
		this.attachFile = attachFile;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public Integer getFinished() {
		return finished;
	}

	public void setFinished(Integer finished) {
		this.finished = finished;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getApprovalNum() {
		return approvalNum;
	}

	public void setApprovalNum(String approvalNum) {
		this.approvalNum = approvalNum;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
}
